<template>
    <div>
        <div class="articleItem">
            <!-- 图片部分 -->
            <div class="picture">
                <img src="/news_photo.jpg" alt="" class="articleImg">
            </div>
            <!-- 文字部分 -->
            <div class="text">
                <!-- 文字标题开始 -->
                <div class="title">
                    文章标题
                    <span>❤120506</span>
                </div>
                <!-- 文章标题结束 -->
               <!-- 时间 -->
               <div class="time">2021/4/28 18:00:00</div>
                <!-- 文章详情开始 -->
                <div class="articleDes">
                    文章详情文章详情文章详情文章详情章详情文章详情
                    文章详情文章详情文章详情文章详情文章详情文章详情
                    文章详情文章详情文章详情文章详情文章详情文章详情
                </div>
                <!-- 文章详情结束 -->
                <div class="xiangqing">
                    查看详情...<div class="xiangqing"></div>
                </div>

            </div>
        </div>
    </div>  
</template>

<script>
    export default {
        
    }
</script>

<style lang="scss" scoped>
.articleItem{
    display: flex;
    padding: 5px 12px 0px;
    border-bottom: 1px solid #999;
    margin-bottom: 15px;
}
.picture{
    max-width: 260px;
   height: 180px;
}
.picture img{
    width: 100%;
    max-width: 256px;
    
}

.text{
    margin-left: 10px;
    width: 66.66666667%;
}
.title{
    font-family: "Arial", "Calibri", "Microsoft Yahei", "微软雅黑", "STHeiti Light", "华文细黑", "SimSun", "宋体", Georgia, sans-serif;
    margin-bottom: 10px;
    color:#0c0c92;
    font-size: 14px;
    font-weight: bold;
    text-align: left;
    line-height: 2rem;

}
.title span{
    margin-left:5px ;
    color: #636363;
    font-size: 16px;
    font-family: Georgia, 'Times New Roman', Times, serif;
}
.time{
    margin-bottom: 10px;
    color: #666;
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;

}
.articleDes{
    margin: 10px 0;
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
    color: #343434;
    line-height: 30px;
    height: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.xiangqing{
    text-align: right;
    color: #757575;
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
   
    
    
}


</style>